package bpm.dao.impl.demo;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import bpm.domain.demo.Demo;

public class DemoMapper implements RowMapper {

	public Object mapRow(ResultSet rs, int i) throws SQLException {
		Demo demo = new Demo();
		demo.setId(rs.getString("id"));
		demo.setName(rs.getString("name"));
		
		return demo;
	}
}
